﻿@model YogaStudio.Data.Domain.WaiverRequest



                <div class="contact-form">

                    <h2>Product Details</h2>
                    <div style="float: right;">@Html.ActionLink("Back to List", "MyWaiverRequest", null, new { @class = "btn", @id = "bluebck" })</div>
                    <table class="details" style="width:100%;">

                        <tr>
                            @if (User.IsInRole("Faculty"))
                            {
                                <td>
                                    Customer
                                </td>

                                <td>
                                    @Html.DisplayFor(model => model.Customer.FullName)
                                </td>
                            }
                        </tr>
                        <tr>
                            @if (User.IsInRole("Customer"))
                            {
                                <td>
                                    Faculty
                                </td>
                                <td>
                                    @Html.DisplayFor(model => model.Faculty.FullName)
                                </td>
                            }
                        </tr>
                        <tr>
                            <td>
                                @Html.DisplayNameFor(model => model.Course.CourseName)
                            </td>
                            <td>
                                @Html.DisplayFor(model => model.Course.CourseName)
                            </td>
                        </tr>
                        <tr>
                            <td>
                                @Html.DisplayNameFor(model => model.Course.CourseCode)
                            </td>
                            <td>
                                @Html.DisplayFor(model => model.Course.CourseCode)
                            </td>
                        </tr>
                        <tr>
                            <td>
                                @Html.DisplayNameFor(model => model.Status)
                            </td>
                            <td>
                                @Html.DisplayFor(model => model.Status)
                            </td>
                        </tr>
                        <tr>
                            <td>
                                @Html.DisplayNameFor(model => model.Reason)
                            </td>
                            <td>
                                @Html.DisplayFor(model => model.Reason)
                            </td>
                        </tr>
                        <tr>
                            <td>
                                @*@Html.DisplayNameFor(model => model.ResponseReason)*@
                                @Html.Label("", "Faculty's response")
                            </td>
                            <td>
                                @Html.DisplayFor(model => model.ResponseReason)
                            </td>
                        </tr>
                    </table>
                    <p>

                        
                    </p>
                </div>
            
